// vite.config.js
import path from "node:path";
import { defineConfig, mergeConfig } from "file:///D:/TintEngine/tiny-engine/node_modules/.pnpm/vite@5.4.18_@types+node@22.14.1_less@4.3.0/node_modules/vite/dist/node/index.js";
import { useTinyEngineBaseConfig } from "file:///D:/TintEngine/tiny-engine/packages/build/vite-config/index.js";
var __vite_injected_original_dirname = "D:\\TintEngine\\tiny-engine\\designer-demo";
var vite_config_default = defineConfig((configEnv) => {
  const baseConfig = useTinyEngineBaseConfig({
    viteConfigEnv: configEnv,
    root: __vite_injected_original_dirname,
    iconDirs: [path.resolve(__vite_injected_original_dirname, "./node_modules/@opentiny/tiny-engine/assets/")],
    useSourceAlias: true,
    envDir: "./env"
  });
  const customConfig = {
    envDir: "./env",
    publicDir: path.resolve(__vite_injected_original_dirname, "./public"),
    server: {
      port: 8090
    }
  };
  return mergeConfig(baseConfig, customConfig);
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxUaW50RW5naW5lXFxcXHRpbnktZW5naW5lXFxcXGRlc2lnbmVyLWRlbW9cIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXFRpbnRFbmdpbmVcXFxcdGlueS1lbmdpbmVcXFxcZGVzaWduZXItZGVtb1xcXFx2aXRlLmNvbmZpZy5qc1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRDovVGludEVuZ2luZS90aW55LWVuZ2luZS9kZXNpZ25lci1kZW1vL3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHBhdGggZnJvbSAnbm9kZTpwYXRoJ1xyX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